<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>留言详情及回复</h2>
    </div>
    <form action="{:U('save')}" method="post" class="form-horizontal">
        <div class="form-item">
            <label class="item-label">留言人称呼<span class="check-tips">（请填写您的称呼方便我们和你取得联系）</span></label>
            <div class="controls">
                <input type="text" class="text input-large" value="{$data['name']}" disabled="true">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">您的手机号<span class="check-tips">（请认真填写您的手机号方便我们联系）</span></label>
            <div class="controls">
                <input type="text" class="text input-large" value="{$data['mobile']}" disabled="true">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">留言标题<span class="check-tips">（请填写您的留言主题）</span></label>
            <div class="controls">
                <input type="text" class="text input-large" value="{$data['title']}" disabled="true">
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">留言详情<span class="check-tips">（请认真填写你的问题）</span></label>
            <div class="controls">
				<label class="textarea input-large">
					<textarea disabled="true">{$data['content']}</textarea>
				</label>				
			</div>
        </div>
        <div class="form-item">
            <label class="item-label">留言状态</label>
            <div class="controls">
                <label class="radio">
                	<input value="1" name="status" type="radio" <eq name="data['status']" value="1">checked="checked"</eq> disabled="true">已留言                                	
                </label>
                <label class="radio">
                	<input value="2" name="status" type="radio" <eq name="data['status']" value="2">checked="checked"</eq>>已回复                           
            	</label>
            	<label class="radio">
                	<input value="3" name="status" type="radio" <eq name="data['status']" value="3">checked="checked"</eq>>留言无效                               
            	</label>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">留言回复<span class="check-tips">（请认真回复客户的留言问题）</span></label>
            <div class="controls">
				<label class="textarea input-large">
					<textarea name="reply_content">{$data.reply_content|default=''}</textarea>
				</label>				
			</div>
        </div>
        <div class="form-item">
        	<input type="hidden" name="id" value="{$data.id|default=''}"/>
            <button class="btn submit-btn" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>